package category.entity;

import article.entity.ArticleVO;
import blogData.entity.BlogDataVO;

import java.util.HashSet;
import java.util.Set;

/**
 * 文章的分类
 */
public class CategoryVO {
    /**
     * 分类的id
     */
    private Integer categoryId;
    /**
     *  分类的名称
     */
    private String categoryName;
    /**
     *  该分类下的文章数目
     */
    private Integer articleNumber;
    /**
     * 所属博客
     */
    private BlogDataVO blogDataVO;
    /**
     * 设置子类--文章
     */
    private Set<ArticleVO> articleVOs=new HashSet();

    public Set<ArticleVO> getArticleVOs() {
        return articleVOs;
    }

    public void setArticleVOs(Set<ArticleVO> articleVOs) {
        this.articleVOs = articleVOs;
    }

    public BlogDataVO getBlogDataVO() {
        return blogDataVO;
    }

    public void setBlogDataVO(BlogDataVO blogDataVO) {
        this.blogDataVO = blogDataVO;
    }

    public Integer getArticleNumber() {
        return articleNumber;
    }

    public void setArticleNumber(Integer articleNumber) {
        this.articleNumber = articleNumber;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
